// var e = "http://zhengyy.com/web/index.php?store_id=2&r=api/", r = {
//  var e = "https://xiuda.jiaodaoren.com/web/index.php?store_id=2&r=api/", r = {
  // var e = "https://qm.lanmeijiejie.com/web/index.php?store_id=2&r=api/", r = {
// var e = "http://gyzj_frontend.com/", r = {
  // var e = "https://zzz1.itxdd.com/", r = {
// var e = "https://m.zxgyzj.com/", r = {
 var e = "https://buy.zxgyzj.com/web/index.php?store_id=2&r=api/", r = {
 //var e = "http://zhengyy.com/web/index.php?store_id=2&r=api/", r = {
  index: e + "default/index",
  default: {
    partner_info: e + "default/partner-info",   //合伙人协议
    store: e + "default/store",
    index: e + "default/index",
    goods_list: e + "default/goods-list",
    cat_list: e + "default/cat-list",
    cat_list_one: e + "default/cat-list-one",
    goods: e + "default/goods",
    district: e + "default/district",
    goods_attr_info: e + "default/goods-attr-info",
    upload_image: e + "default/upload-image",
    comment_list: e + "default/comment-list",
    article_list: e + "default/article-list",
    article_detail: e + "default/article-detail",
    video_list: e + "default/video-list",
    goods_qrcode: e + "default/goods-qrcode",
    coupon_list: e + "default/coupon-list",
    topic_list: e + "default/topic-list",
    topic: e + "default/topic",
    navbar: e + "default/navbar",
    navigation_bar_color: e + "default/navigation-bar-color",
    shop_list: e + "default/shop-list",
    shop_detail: e + "default/shop-detail",
    topic_type: e + "default/topic-type",
    buy_data: e + "default/buy-data",
    goods_recommend: e + "default/goods-recommend",
    search: e + "default/search",
    the_news: e + 'default/the-news',
    mch_search: e + 'default/mch-search',
    search_word: e + 'default/search-word',
    mch_list: e + 'default/mch-list',
    mch_index: e + 'default/mch-index',
    comment_back_send: e + 'default/comment-back-send',
    get_info: e + 'default/get-info'
  },
  live:{
    index:e+"live/index"
  },
  coupon: {
    index: e + "coupon/index",
    share_send: e + "coupon/share-send",
    receive: e + "coupon/receive"
  },
  /*余额有关操作 */
  recharge: {
    index: e + "recharge/index",
    list: e + "recharge/list",
    submit: e + "recharge/submit",
    record: e + "recharge/record",
    detail: e + "recharge/detail"
  },
  user: {
    index: e + "user/index",   //我的个人中心
    wechat_district: e + "user/wechat-district",  //获取地址
    address_list: e + "user/address-list",   //地址列表
    address_detail: e + "user/address-detail",
    address_set_default: e + "user/address-set-default", //设置默认地址\
    address_save: e + "user/address-save",
    address_delete: e + "user/address-delete",  //地址删除
    property_log: e + "user/property-log",  // 物业费明细
    register_log: e + "user/register-log",   //积分记录
    info_my: e + "user/info-my",    //我发布的信息
    info_del: e + "user/info-del",  //删除信息
    commdify_shop: e + "user/commdify-shop",  //浏览历史商品
    commdify_mch: e + "user/commdify-mch",  //浏览历史店铺
    commdify_info: e + "user/commdify-info",  //浏览历史信息
    favorite_list: e + "user/favorite-list",  //我的收藏（商品，门店，信息)

    my_mch: e + "user/my-mch",  //我的门店
    info_list: e + "user/info-list",  //交流平台
    info_cat_add: e + "user/info-cat-add",  //其他推荐到我的分类
    info_cat_edit: e + "user/info-cat-edit",  //我的分类到其他推荐
    info_view: e + "user/info-view",  //信息详情
    favorite_add: e + "user/favorite-add",  //添加商品收藏
    favorite_list_add: e + "user/favorite-list-add",  //批量商品收藏
    favorite_remove: e + "user/favorite-remove",  //取消信息收藏
    give_add: e + "user/give-add",  //添加点赞
    give_remove: e + "user/give-remove",  //取消点赞
    activety_list: e + "user/activety-list",  //我的活动
    activety_view: e + "user/activety-view",  //我的活动(非订单)详情
    info_send_prev: e + "user/info-send-prev",  //实名认证的上一页
    info_send_view: e + "user/info-send-view",  //实名认证页
    info_send: e + "user/info-send",  //实名认证页表单提交

    info_add_brand: e + "user/info-add-brand",  //添加品牌
    info_del_brand: e + "user/info-del-brand",  //删除品牌
    other_mch: e + "user/other-mch",  //其他门店
    mch_cat_article: e + "user/mch-cat-article",  //当前店铺的案例展示
    mch_cat_view: e + "user/mch-cat-view",  //当前店铺的案例展示详情
    mch_cat_active: e + "user/mch-cat-active",  //当前店铺的自主活动
    mch_cat_active_all: e + "user/mch-cat-active-all",  //所有店铺的商家活动
    mch_active_view: e + "user/mch-active-view",  //当前店铺的自主活动详情
    purchase_list: e + "user/purchase-list",  //活动详情
    purchase_view: e + "user/purchase-view",  //活动订单详情

    signup_send: e + "user/signup-send",  //平台报名活动
    all_activety: e + "user/all-activety",  //所有活动

    all_mch_shop: e + "user/all-mch-shop",  //所有门店及商品
    br_list: e + "user/br-list",  //我的砍价订单
    br_detail: e + "user/br-detail",  //我的砍价详情
    article_info_cat: e + "user/article-info-cat",  //发布信息预选栏目
    article_info_send: e + "user/article-info-send",  //发布文章信息
    complaint_send: e + "user/complaint-send",  //投诉建议
    user_center: e + "user/user-center",  //个人中心

    order_mch_id: e + 'user/order-mch-id',  //报名改变门店订单状态
    //br_discount: e + 'user/br-discount',  //最新的砍价商品，这里和 bargain合并了

    user_binding: e + "user/user-binding",  //授权手机号
    go_br_info: e + "user/go-br-info",  //砍价订单下单获取goods_info信息
    record_come: e + "user/record-come",  //浏览商品店铺信息等
    member: e + "user/member",  //会员中心
  },
  order: {
    submit_preview: e + "order/submit-preview",
    submit: e + "order/submit",
    gyzj_submit: e + "order/gyzj-submit",
    gyzj_submit_edit: e + "order/gyzj-submit-edit",
    pay_data: e + "order/pay-data",
    list: e + "order/list", 
    other_list: e + "order/other-list",
    revoke: e + "order/revoke",
    confirm: e + "order/confirm",
    count_data: e + "order/count-data",
    detail: e + "order/detail",
    refund_preview: e + "order/refund-preview",
    refund: e + "order/refund",
    refund_detail: e + "order/refund-detail",
    comment_preview: e + "order/comment-preview",
    comment: e + "order/comment",
    express_detail: e + "order/express-detail",
    clerk: e + "order/clerk",
    clerk_detail: e + "order/clerk-detail",
    get_qrcode: e + "order/get-qrcode",
    location: e + "order/location",
    refund_send: e + "order/refund-send"
  },
  cart: {
    list: e + "cart/list",
    other_list_edit: e + "cart/other-list-edit",
    add_cart: e + "cart/add-cart",
    add_cart_edit: e + "cart/add-cart-edit",
    delete: e + "cart/delete",
    cart_edit: e + "cart/cart-edit"
  },
  article: {
    article_index: e + "article/index/index",  //文章列表
    article_view: e + "article/index/view"  //文章详情
  },
  passport: {
    login: e + "passport/login",
    on_login: e + "passport/on-login"
  },
  group: {
    index: e + "group/index/index",
    details: e + "group/index/good-details",
    submit_preview: e + "group/order/submit-preview", //团购提交页
    submit: e + "group/order/submit",//团购表单提交
    goods_attr_info: e + "group/index/goods-attr-info",  //商品规格
    group_detail: e + "group/order/group-detail",  //参团详情
    order: {
      list: e + "group/order/list",
      get_qrcode: e + "order/get-qrcode",

    },
    goods_qrcode: e + "group/index/goods-qrcode",
  },
  bargain: {
    index: e + "bargain/index/index",  //首页
    submit_preview: e + "bargain/order/submit-preview", //砍价下单详情
    submit: e + "bargain/order/submit", //砍价下单页面
    details: e + "bargain/index/good-details",  //砍价详情
    user_bar: e + "bargain/bargain/user-bar",//帮砍页
    doing: e + "bargain/bargain/doing", //发起砍价
    goods_qrcode: e + "bargain/index/goods-qrcode",  //生成商品二维码海报
    to_do_goods: e + "bargain/bargain/to-do-goods",  //砍价详情页
    order_detail: e + "bargain/order/order-detail",  //核销详情页
    order: {
      list: e + "bargain/order/list",
    },
  },
  pond: {
    prize_mxh: e + 'pond/pond/prize-mxh'
  },
  integral: {
    integral_detail: e + "integralmall/integralmall/integral-detail",
    integral_add: e + "integralmall/integralmall/integral-add-task",
    index: e + "integralmall/integralmall/index",
    coupon_info: e + "integralmall/integralmall/coupon-info",
    exchange_coupon: e + "integralmall/integralmall/exchange-coupon",
    integral_pay: e + "integralmall/integralmall/integral-pay",
    goods_info: e + "integralmall/integralmall/goods-info",
    submit_preview: e + "integralmall/integralmall/submit-preview",
    submit: e + "integralmall/integralmall/submit",
    list: e + "integralmall/integralmall/list",
    revoke: e + "integralmall/integralmall/revoke",
    order_submit: e + "integralmall/integralmall/order-submit",
    confirm: e + "integralmall/integralmall/confirm",
    get_qrcode: e + "integralmall/integralmall/get-qrcode",
    clerk_order_details: e + "integralmall/integralmall/clerk-order-details",
    clerk: e + "integralmall/integralmall/clerk",
    explain: e + "integralmall/integralmall/explain",
    exchange: e + "integralmall/integralmall/exchange",
    register: e + "integralmall/integralmall/register",
  },
  share: {
    join: e + "share/join",
    check: e + "share/check",
    get_info: e + "share/get-info",
    get_price: e + "share/get-price",
    apply: e + "share/apply",
    cash_detail: e + "share/cash-detail",
    get_qrcode: e + "share/get-qrcode",
    shop_share: e + "share/shop-share",
    bind_parent: e + "share/bind-parent", //默认绑定上级的方法
    get_team: e + "share/get-team",
    get_order: e + "share/get-order",
    index: e + "share/index"
  },
  mch: {
    order: {
      list: e + "mch/order/list",
      comment_list: e + "mch/order/comment-list",
    },
    user: {
      my_shop: e + "mch/user/my-shop",
    },
    mch_qrcode: e + "mch/order/goods-qrcode",
    apply: e + "mch/index/apply",
    apply_submit: e + "mch/index/apply-submit",
    apply_submit_zyy: e + "mch/index/apply-submit-zyy",
    index: {
      shop_list: e + "mch/index/shop-list",
      shop: e + "mch/index/shop",
    }
  },

};

module.exports = r;